
import { ref } from "vue";

export function useModal() {

    const showModal = ref(false);

    const onSubmit = () => {
        showModal.value = false;
    }

    return { 
        showModal, 
        onSubmit 
    }
}
